import cflow.Cflow;


public class ExampleClass {
	private int count; 
	private Cflow flow0,flow1,flow4;
	public ExampleClass() {

		flow0 = new Cflow("trans0",Cflow.CONTINUE,0,false);
		flow1 = new Cflow("trans1",Cflow.CONTINUE,0,false);
		flow4 = new Cflow("trans4",Cflow.CONTINUE,0,false);
		count = 0;
	}

	public void work() {
		switch(count){
		case 0:
			flow0.addTransition("trans0");
			Exemplo4.c.addTransition("a");
			break;
		case 1:
			flow1.addTransition("invalid");
			Exemplo4.c.addTransition("b");
			break;
		case 2:
			Exemplo4.c.addTransition("c");
			break;
		case 3:
			Exemplo4.c.addTransition("d");
			break;
		case 4:
			flow4.addTransition("a.b.c.d.e");
			Exemplo4.c.addTransition("e");
			break;
		case 5:
			Exemplo4.c.addTransition("f");
			break;
		default:
			Exemplo4.c.addTransition("z");
			break;	
		}
		count++;
	}
	
	

}
